#include "globalData.h"

#define PAIR1_DEEP 7
#define PAIR1_SHALLOW 3
#define PAIR2_DEEP 4
#define PAIR2_SHALLOW 2

/* examine if the current node can be cut */
bool PerformCut(int alpha, int beta, int eval, int stage, int depth);

/* initialise the constants for MPC */
void InitialiseMPC();

/* write the threshold back into file */
void WriteMPC(double gradient[][2], double bias[][2], double deviation[][2]);

/* Perform MPC search and write data into file */
void PerformSearch(gameState gs[], BitBoard blocked, BoardState player[]);

/* Fit the stored MPC data to linear regressions and store parameters to file */
void FitMPC();
